package com.lst.service;

import java.util.List;
import java.util.Map;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.lst.model.ClientGrowth;
import com.lst.model.MstOrder;
import com.lst.model.OrderDetail;
import com.lst.model.vo.MstOrderVo;

public interface MstOrderService {
    int deleteByPrimaryKey(Integer id);

    int insert(MstOrder record);

    int insertSelective(MstOrder record);

    MstOrder selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MstOrder record);

    int updateByPrimaryKey(MstOrder record);

    /**
     * 
     * @Title: updateOrderAndOthers
     * @Description:更新订单和其他业务逻辑
     * @param @param mstOrder
     * @param @return 设定文件
     * @return ClientGrowth 返回类型
     */
    void updateOrderAndOthers(MstOrder mstOrder, OrderDetail orderDetail);

    MstOrderVo selectOrderByTradeNo(String tradeno);
    
    /**
   	 * 
   	 * @Title: queryByList
   	 * @Description: 数据集
   	 * @param @param map
   	 * @param @return   pageBounds
   	 * @return List<MstOrder>    返回类型
   	 * @throws
   	 */
    List<MstOrder> queryByList(Map<String, Object> map , PageBounds pageBounds);
}